let net = require("net");

let server = net.createServer((connection)=>{

    connection.on('end', function() {
        console.log('客户端关闭连接');
    });
    connection.write('Hello World!\r\n');
    connection.pipe(connection);
});

server.listen("8601",()=>{
    console.log("Server is listening  8601");
})
